package com.wct.mall.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wct.mall.mapper.PmsProductAttributeMapper;
import com.wct.mall.domain.PmsProductAttribute;

@Service
public class PmsProductAttributeService {

    @Resource
    private PmsProductAttributeMapper pmsProductAttributeMapper;


    public int deleteByPrimaryKey(Integer id) {
        return pmsProductAttributeMapper.deleteByPrimaryKey(id);
    }


    public int insert(PmsProductAttribute record) {
        return pmsProductAttributeMapper.insert(record);
    }


    public int insertSelective(PmsProductAttribute record) {
        return pmsProductAttributeMapper.insertSelective(record);
    }


    public PmsProductAttribute selectByPrimaryKey(Integer id) {
        return pmsProductAttributeMapper.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(PmsProductAttribute record) {
        return pmsProductAttributeMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(PmsProductAttribute record) {
        return pmsProductAttributeMapper.updateByPrimaryKey(record);
    }

}

